package com.dddpeter.app.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;

/**
 * 评论点赞记录实体类
 */
@TableName("comment_likes")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentLike {
    
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    
    @TableField("comment_id")
    private Long commentId;
    
    @TableField("nickname")
    private String nickname; // 点赞者昵称
    
    @TableField("created_at")
    private LocalDateTime createdAt;
}
